package cn.sherer.beans.douyin;

import java.util.List;
import java.util.ArrayList;

/**
 * 抖音订阅消息模板结果
 */
public class DySubscribeTemplateResult extends DyResult<String> {
    private int total_count;
    private List<DySubscribeTemplate> template_list;

    public DySubscribeTemplateResult() {
    }

    public DySubscribeTemplateResult(int err_no, String err_tips) {
        super(err_no, err_tips);
    }

    public int getTotal_count() {
        return total_count;
    }

    public void setTotal_count(int total_count) {
        this.total_count = total_count;
    }

    public List<DySubscribeTemplate> getTemplate_list() {
        return template_list == null ? new ArrayList<>() : template_list;
    }

    public void setTemplate_list(List<DySubscribeTemplate> template_list) {
        this.template_list = template_list;
    }

    @Override
    public String toString() {
        return "DySubscribeTemplateResult{" + "total_count=" + total_count + ", template_list=" + template_list.toString() + "}";
    }
}
